﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TIS.Home.Default" %>

<%@ Register TagPrefix="uc" TagName="footer" Src="../UserControl/footer.ascx" %>
<%@ Register TagPrefix="uc" TagName="menu" Src="../UserControl/Menu.ascx" %>
<%@ Register TagPrefix="uc" TagName="video" Src="../UserControl/video.ascx" %>
<%@ Register TagPrefix="uc" TagName="customer" Src="../UserControl/khachhang.ascx" %>
<%@ Register TagPrefix="uc" TagName="slideshow" Src="../UserControl/slideShow.ascx" %>
<%@ Register TagPrefix="uc" TagName="language" Src="../UserControl/Language.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
        <asp:Literal ID="ltlMetaTitle" runat="server"></asp:Literal>
    </title>
    <link rel="stylesheet" type="text/css" href="/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/css/nivoSlider.css" />
    <link rel="stylesheet" type="text/css" href="/css/skins/tango/skin.css" />
    <script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/js/nivo-slider/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript" src="/js/jcarousel/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/js/main.js"></script>
    <meta name="description" content=" <asp:Literal ID="ltlMetaDescription" runat="server"></asp:Literal>" />
    <meta name="keywords" content=" <asp:Literal ID="ltlMetaKeywords" runat="server"></asp:Literal>" />
</head>
<body>
    <div id="container">
        <div id="header">
            <div class="col-980">
                <div class="head">
                    <a href="/">
                        <img class="logo" src="/images/logo.png" width="71" height="47" alt="TIS" /></a>
                    <div class="company">
                        <h1>
                            CÔNG TY CỔ PHẦN TIS</h1>
                        <p>
                            Lựa chọn cho giải pháp tốt nhất</p>
                    </div>
                    <ul class="language">
                        <uc:language ID="language" runat="server" />
                    </ul>
                </div>
                <uc:menu ID="menu" runat="server"></uc:menu>
                <div class="slideshow">
                    <uc:slideshow ID="slideShow" runat="server" />
                </div>
            </div>
        </div>
        <div id="content">
            <div class="infor-video">
                <div class="col-980">
                    <div class="col-625">
                        <h2 class="title">
                            GIỚI THIỆU VỀ TIS</h2>
                        <asp:Repeater ID="rpIntroduction" runat="server">
                            <ItemTemplate>
                                <p class="title">
                                    <a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                        <%# Eval("NewsTitle") %></a>
                                </p>
                                <p>
                                    <%# Eval("NewsContent") %>
                                </p>
                                <a class="detail" href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                    Chi tiết >> </a>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="col-300">
                        <uc:video ID="video" runat="server"></uc:video>
                    </div>
                </div>
            </div>
            <div class="product-service">
                <div class="col-980">
                    <asp:Repeater ID="rptMenus" runat="server">
                        <ItemTemplate>
                            <div class="box-content">
                                <h2 style="text-transform: uppercase;font-weight : bold;">
                                    <%# Eval("CategoryName") %></h2>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
            <div class="product-content">
                <div class="col-980">
                    <asp:Repeater ID="rptBoxMenu" runat="server" OnItemDataBound="rptBoxMenu_ItemDataBound">
                        <ItemTemplate>
                            <div class="box-content">
                                <img src="<%# Eval("CategoryImage") %>" width="300" height="135" alt="product" />
                                <ul>
                                    <asp:Repeater ID="rptBoxSubMenu0" runat="server">
                                        <ItemTemplate>
                                            <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                                <%# Eval("NewsTitle") %>
                                            </a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    <asp:Repeater ID="rptBoxSubMenu1" runat="server">
                                        <ItemTemplate>
                                            <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                                <%# Eval("NewsTitle") %>
                                            </a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    <asp:Repeater ID="rptBoxSubMenu2" runat="server">
                                        <ItemTemplate>
                                            <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                                <%# Eval("NewsTitle") %>
                                            </a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </ul>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
            <div class="news">
                <div class="col-980">
                    <div class="col-625">
                        <h2 class="title">
                            TIN TỨC HOẠT ĐỘNG</h2>
                        <asp:Repeater runat="server" ID="rpHoatDong">
                            <ItemTemplate>
                                <div class="news-content">
                                    <a href="#">
                                        <img src="<%# Eval("NewsImages") %>" width="113" height="78" alt="news" /></a>
                                    <p class="time">
                                        <%# Eval("NewsDate", "{0:dd/MM/yyyy}")%></p>
                                    <p class="title-content">
                                        <a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                            <b style="color: black;">
                                                <%# Eval("NewsTitle")%></b> </a>
                                    </p>
                                    <p class="content-description-new">
                                        <%# Eval("NewsContent")%></p>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="col-300">
                        <h3 class="title">
                            TIN KHÁC
                            <hr width="225" />
                        </h3>
                        <ul class="news-other">
                            <asp:Repeater runat="server" ID="rpTinKhac">
                                <ItemTemplate>
                                    <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                        <%# Eval("NewsTitle")%><span>(<%# Eval("NewsDate", "{0:dd.MM.yyyy}")%>) </span></a>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="customer-tis">
                <uc:customer ID="customer" runat="server" />
            </div>
        </div>
        <uc:footer ID="footer" runat="server"></uc:footer>
    </div>
</body>
</html>
